package day7;

public class D7_3 {
    public static void main(String[] args) {
    Manager manager=new Manager();
    manager.id="123";
    manager.salary=15000;
    manager.bonus=6000;
    manager.Work();
    Coder coder=new Coder();
    coder.id="135";
    coder.salary=10000;
    coder.Work();

    }
}
class Manager{
    String id;
    int salary;
    int bonus;
    public void Work(){
        System.out.println("工号为："+ id +"基本工资为："+ salary +"奖金为："+ bonus +"的项目经理正在努力地做着管理工作，分配任务，检查员工提交上来的代码。");
    }
}
class Coder{
    String id;
    int salary;
    public void  Work(){
        System.out.println("工号为："+id+"基本工资为："+ salary+"的程序员正在努力写着代码...");
    }
}